﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace Roton2.TextModeEmulation
{
    /// <summary>
    /// Contains default values for use with Text Mode Emulation classes.
    /// </summary>
    static public class Defaults
    {
        /// <summary>
        /// Default font.
        /// </summary>
        static public byte[] Font
        {
            get
            {
                return Properties.Resources.vga_rom;            // VGA 8x14 font
            }
        }

        /// <summary>
        /// Default palette.
        /// </summary>
        static public Color[] Palette
        {
            get
            {
                return new Color[] {
                    Color.FromArgb(0xFF, 0x00, 0x00, 0x00),     // 0 black
                    Color.FromArgb(0xFF, 0x00, 0x00, 0xAA),     // 1 blue
                    Color.FromArgb(0xFF, 0x00, 0xAA, 0x00),     // 2 green
                    Color.FromArgb(0xFF, 0x00, 0xAA, 0xAA),     // 3 cyan
                    Color.FromArgb(0xFF, 0xAA, 0x00, 0x00),     // 4 red
                    Color.FromArgb(0xFF, 0xAA, 0x00, 0xAA),     // 5 purple
                    Color.FromArgb(0xFF, 0xAA, 0x55, 0x00),     // 6 brown
                    Color.FromArgb(0xFF, 0xAA, 0xAA, 0xAA),     // 7 gray
                    Color.FromArgb(0xFF, 0x55, 0x55, 0x55),     // 8 dark gray
                    Color.FromArgb(0xFF, 0x55, 0x55, 0xFF),     // 9 light blue
                    Color.FromArgb(0xFF, 0x55, 0xFF, 0x55),     // A light green
                    Color.FromArgb(0xFF, 0x55, 0xFF, 0xFF),     // B light cyan
                    Color.FromArgb(0xFF, 0xFF, 0x55, 0x55),     // C light red
                    Color.FromArgb(0xFF, 0xFF, 0x55, 0xFF),     // D light purple
                    Color.FromArgb(0xFF, 0xFF, 0xFF, 0x55),     // E yellow
                    Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)      // F white
                };
            }
        }
    }
}
